Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODStorageUnitView


IsWeakStorageUnitRef

The IsWeakStorageUnitRef method returns a Boolean value that indicates whether the specified persistent reference is a weak persistent reference.

ODBoolean IsWeakStorageUnitRef (in ODStorageUnitRef ref);
ref
The persistent reference to be tested (assumed to be valid).
return value
kODTrue if the specified reference is a weak persistent reference, otherwise kODFalse.
DISCUSSION
Before calling this method, you can call the IsValidStorageUnitRef method to check whether the specified persistent reference is valid.

EXCEPTIONS
kODErrUnfocusedStorageUnit
The focus context of this storage-unit view is not a value.
If the storage-unit cursor for this storage-unit view does not represent a legal focus context for the storage unit that created this storage-unit view, this method throws exceptions raised by the FocusWithCursor method of that storage unit.

SEE ALSO
The ODStorageUnitRef type (page 903).
The ODStorageUnitView::GetWeakStorageUnitRef method (page 747).
The ODStorageUnitView::IsStrongStorageUnitRef method (page 751).
The ODStorageUnitView::IsValidStorageUnitRef method (page 752).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help